﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Proggy.Web.Cms.Sections.Core
{
    /// <summary>
    /// Content section definition
    /// </summary>
    public class ContentSection : ISection
    {
        /// <summary>
        /// Root item
        /// </summary>
        public SectionItem RootItem
        {
            get
            {
                return new SectionItem
                {
                    ActionName = "Index",
                    DisplayText = "Content",
                    RouteValues = new
                    {
                        controller = "Content"
                    }
                };
            }
        }

        /// <summary>
        /// Level 2 items
        /// </summary>
        public List<SectionItem> Items
        {
            get
            {
                // none
                return new List<SectionItem>();
            }
        }
        /// <summary>
        /// Namespace
        /// </summary>
        public string ControllersNamespace
        {
            get { return "Proggy.Web.Cms.Controllers.BackEnd"; }
        }

        /// <summary>
        /// Order in nav
        /// </summary>
        public int OrderInNav
        {
            get { return -9998; }
        }
    }
}
